import request from '@/utils/request'

// 项目基本信息
export function getProjectInfoList(data) {
  return request({
    url: '/api/contractManage/projectInfo/getProjectInfoList',
    method: 'post',
    data
  })
}

// 获取项目进度计划完成信息列表
export function getProjectSchedulePlanFinishInfoList(data) {
  return request({
    url: '/api/planManage/projectSchedulePlanInfo/getProjectSchedulePlanFinishInfoList',
    method: 'post',
    data
  })
}

// 获取项目进度计划完成信息列表
export function getProjectTotalCostPlanFinishInfoList(data) {
  return request({
    url: '/api/planManage/projectTotalCostPlanInfo/getProjectTotalCostPlanFinishInfoList',
    method: 'post',
    data
  })
}

export function importProjectChecklist(data) {
  return request({
    url: '/api/contractManage/projectChecklist/importProjectChecklist',
    method: 'post',
    data
  })
}

export function importMachineDeviceDetail(data) {
  return request({
    url: '/api/machineDeviceManage/machineDeviceDetail/importMachineDeviceDetail',
    method: 'post',
    data
  })
}

export function addProjectInfo(data) {
  return request({
    url: '/api/contractManage/projectInfo/addProjectInfo',
    method: 'post',
    data
  })
}

export function updateProjectInfo(data) {
  return request({
    url: '/api/contractManage/projectInfo/updateProjectInfo',
    method: 'post',
    data
  })
}

export function deleteProjectInfo(params) {
  return request({
    url: '/api/contractManage/projectInfo/deleteProjectInfo',
    method: 'post',
    params
  })
}

export function getProjectInfoDetail(params) {
  return request({
    url: '/api/contractManage/projectInfo/getProjectInfoDetail',
    method: 'post',
    params
  })
}

// 总承包合同
export function getGeneralContractInfoList(data) {
  return request({
    url: '/api/contractManage/generalContractInfo/getGeneralContractInfoList',
    method: 'post',
    data
  })
}

export function addGeneralContractInfo(data) {
  return request({
    url: '/api/contractManage/generalContractInfo/addGeneralContractInfo',
    method: 'post',
    data
  })
}

export function updateGeneralContractInfo(data) {
  return request({
    url: '/api/contractManage/generalContractInfo/updateGeneralContractInfo',
    method: 'post',
    data
  })
}

export function deleteGeneralContractInfo(params) {
  return request({
    url: '/api/contractManage/generalContractInfo/deleteGeneralContractInfo',
    method: 'post',
    params
  })
}

export function getGeneralContractInfoDetail(params) {
  return request({
    url: '/api/contractManage/generalContractInfo/getGeneralContractInfoDetail',
    method: 'post',
    params
  })
}

// 总承包合同结算与支付
export function getGeneralContractSettleInfoList(data) {
  return request({
    url: '/api/contractManage/generalContractSettleInfo/getGeneralContractSettleInfoList',
    method: 'post',
    data
  })
}

export function addGeneralContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/generalContractSettleInfo/addGeneralContractSettleInfo',
    method: 'post',
    data
  })
}

export function updateGeneralContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/generalContractSettleInfo/updateGeneralContractSettleInfo',
    method: 'post',
    data
  })
}

export function deleteGeneralContractSettleInfo(params) {
  return request({
    url: '/api/contractManage/generalContractSettleInfo/deleteGeneralContractSettleInfo',
    method: 'post',
    params
  })
}

export function getGeneralContractSettleInfoDetail(params) {
  return request({
    url: '/api/contractManage/generalContractSettleInfo/getGeneralContractSettleInfoDetail',
    method: 'post',
    params
  })
}

// 劳务分包合同
export function getTransferContractInfoList(data) {
  return request({
    url: '/api/contractManage/transferContractInfo/getTransferContractInfoList',
    method: 'post',
    data
  })
}
export function getTransferContractBasicInfoList(data) {
  return request({
    url: '/api/contractManage/transferContractInfo/getTransferContractBasicInfoList',
    method: 'post',
    data
  })
}

export function addTransferContractInfo(data) {
  return request({
    url: '/api/contractManage/transferContractInfo/addTransferContractInfo',
    method: 'post',
    data
  })
}

export function updateTransferContractInfo(data) {
  return request({
    url: '/api/contractManage/transferContractInfo/updateTransferContractInfo',
    method: 'post',
    data
  })
}

export function deleteTransferContractInfo(params) {
  return request({
    url: '/api/contractManage/transferContractInfo/deleteTransferContractInfo',
    method: 'post',
    params
  })
}

export function getTransferContractInfoDetail(params) {
  return request({
    url: '/api/contractManage/transferContractInfo/getTransferContractInfoDetail',
    method: 'post',
    params
  })
}

// 劳务分包合同结算
export function getTransferContractSettleInfoList(data) {
  return request({
    url: '/api/contractManage/transferContractSettleInfo/getTransferContractSettleInfoList',
    method: 'post',
    data
  })
}

export function getTransferContractFinishInfoList(data) {
  return request({
    url: '/api/contractManage/transferContractInfo/getTransferContractFinishInfoList',
    method: 'post',
    data
  })
}

export function addTransferContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/transferContractSettleInfo/addTransferContractSettleInfo',
    method: 'post',
    data
  })
}

export function updateTransferContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/transferContractSettleInfo/updateTransferContractSettleInfo',
    method: 'post',
    data
  })
}

export function deleteTransferContractSettleInfo(params) {
  return request({
    url: '/api/contractManage/transferContractSettleInfo/deleteTransferContractSettleInfo',
    method: 'post',
    params
  })
}

export function getTransferContractSettleInfoDetail(params) {
  return request({
    url: '/api/contractManage/transferContractSettleInfo/getTransferContractSettleInfoDetail',
    method: 'post',
    params
  })
}

export function getTransferContractSettleChecklistCountInfo(params) {
  return request({
    url: '/api/contractManage/transferContractSettleInfo/getTransferContractSettleChecklistCountInfo',
    method: 'post',
    params
  })
}

// 材料采购合同
export function getMaterialContractInfoList(data) {
  return request({
    url: '/api/contractManage/materialContractInfo/getMaterialContractInfoList',
    method: 'post',
    data
  })
}
export function getMaterialContractBasicInfoList(data) {
  return request({
    url: '/api/contractManage/materialContractInfo/getMaterialContractBasicInfoList',
    method: 'post',
    data
  })
}
export function getMaterialContractFinishInfoList(data) {
  return request({
    url: '/api/contractManage/materialContractInfo/getMaterialContractFinishInfoList',
    method: 'post',
    data
  })
}

export function addMaterialContractInfo(data) {
  return request({
    url: '/api/contractManage/materialContractInfo/addMaterialContractInfo',
    method: 'post',
    data
  })
}

export function updateMaterialContractInfo(data) {
  return request({
    url: '/api/contractManage/materialContractInfo/updateMaterialContractInfo',
    method: 'post',
    data
  })
}

export function deleteMaterialContractInfo(params) {
  return request({
    url: '/api/contractManage/materialContractInfo/deleteMaterialContractInfo',
    method: 'post',
    params
  })
}

export function getMaterialContractInfoDetail(params) {
  return request({
    url: '/api/contractManage/materialContractInfo/getMaterialContractInfoDetail',
    method: 'post',
    params
  })
}
export function getMaterialContractSettleInfoList(data) {
  return request({
    url: '/api/contractManage/materialContractSettleInfo/getMaterialContractSettleInfoList',
    method: 'post',
    data
  })
}
export function addMaterialContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/materialContractSettleInfo/addMaterialContractSettleInfo',
    method: 'post',
    data
  })
}
export function updateMaterialContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/materialContractSettleInfo/updateMaterialContractSettleInfo',
    method: 'post',
    data
  })
}
export function getMaterialContractSettleInfoDetail(params) {
  return request({
    url: '/api/contractManage/materialContractSettleInfo/getMaterialContractSettleInfoDetail',
    method: 'post',
    params
  })
}
export function getMaterialContractMaterialList(params) {
  return request({
    url: '/api/contractManage/materialContractInfo/getMaterialContractMaterialList',
    method: 'post',
    params
  })
}
export function deleteMaterialContractSettleInfo(params) {
  return request({
    url: '/api/contractManage/materialContractSettleInfo/deleteMaterialContractSettleInfo',
    method: 'post',
    params
  })
}

// 设备采购合同
export function getDeviceStockContractInfoList(data) {
  return request({
    url: '/api/contractManage/deviceStockContractInfo/getDeviceStockContractBasicInfoList',
    method: 'post',
    data
  })
}
export function getDeviceStockContractFinishInfoList(data) {
  return request({
    url: '/api/contractManage/deviceStockContractInfo/getDeviceStockContractFinishInfoList',
    method: 'post',
    data
  })
}

export function addDeviceStockContractInfo(data) {
  return request({
    url: '/api/contractManage/deviceStockContractInfo/addDeviceStockContractInfo',
    method: 'post',
    data
  })
}

export function updateDeviceStockContractInfo(data) {
  return request({
    url: '/api/contractManage/deviceStockContractInfo/updateDeviceStockContractInfo',
    method: 'post',
    data
  })
}

export function deleteDeviceStockContractInfo(params) {
  return request({
    url: '/api/contractManage/deviceStockContractInfo/deleteDeviceStockContractInfo',
    method: 'post',
    params
  })
}

export function getDeviceStockContractInfoDetail(params) {
  return request({
    url: '/api/contractManage/deviceStockContractInfo/getDeviceStockContractInfoDetail',
    method: 'post',
    params
  })
}

// 添加设备采购合同结算信息
export function addDeviceStockContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/deviceStockContractSettleInfo/addDeviceStockContractSettleInfo',
    method: 'post',
    data
  })
}
// 删除设备采购合同结算信息
export function deleteDeviceStockContractSettleInfo(params) {
  return request({
    url: '/api/contractManage/deviceStockContractSettleInfo/deleteDeviceStockContractSettleInfo',
    method: 'post',
    params
  })
}
// 获取设备采购合同结算信息详情
export function getDeviceStockContractSettleInfoDetail(params) {
  return request({
    url: '/api/contractManage/deviceStockContractSettleInfo/getDeviceStockContractSettleInfoDetail',
    method: 'post',
    params
  })
}

// 获取设备采购合同详情列表
export function getDeviceStockContractDetailList(params) {
  return request({
    url: '/api/contractManage/deviceStockContractInfo/getDeviceStockContractDetailList',
    method: 'post',
    params
  })
}
// 获取设备采购合同结算信息列表
export function getDeviceStockContractSettleInfoList(data) {
  return request({
    url: '/api/contractManage/deviceStockContractSettleInfo/getDeviceStockContractSettleInfoList',
    method: 'post',
    data
  })
}
// 更新设备采购合同结算信息
export function updateDeviceStockContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/deviceStockContractSettleInfo/updateDeviceStockContractSettleInfo',
    method: 'post',
    data
  })
}

// 设备租赁合同
export function getDeviceLeaseContractInfoList(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractInfo/getDeviceLeaseContractBasicInfoList',
    method: 'post',
    data
  })
}
export function getDeviceLeaseContractFinishInfoList(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractInfo/getDeviceLeaseContractFinishInfoList',
    method: 'post',
    data
  })
}

export function addDeviceLeaseContractInfo(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractInfo/addDeviceLeaseContractInfo',
    method: 'post',
    data
  })
}

export function updateDeviceLeaseContractInfo(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractInfo/updateDeviceLeaseContractInfo',
    method: 'post',
    data
  })
}

export function deleteDeviceLeaseContractInfo(params) {
  return request({
    url: '/api/contractManage/deviceLeaseContractInfo/deleteDeviceLeaseContractInfo',
    method: 'post',
    params
  })
}

export function getDeviceLeaseContractInfoDetail(params) {
  return request({
    url: '/api/contractManage/deviceLeaseContractInfo/getDeviceLeaseContractInfoDetail',
    method: 'post',
    params
  })
}
// 设备租赁合同结算
// 添加设备租赁合同结算信息
export function addDeviceLeaseContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractSettleInfo/addDeviceLeaseContractSettleInfo',
    method: 'post',
    data
  })
}
// 删除设备租赁合同结算信息
export function deleteDeviceLeaseContractSettleInfo(params) {
  return request({
    url: '/api/contractManage/deviceLeaseContractSettleInfo/deleteDeviceLeaseContractSettleInfo',
    method: 'post',
    params
  })
}
// 获取设备租赁合同结算信息详情
export function getDeviceLeaseContractSettleInfoDetail(params) {
  return request({
    url: '/api/contractManage/deviceLeaseContractSettleInfo/getDeviceLeaseContractSettleInfoDetail',
    method: 'post',
    params
  })
}

// 获取设备租赁合同详情列表
export function getDeviceLeaseContractDetailList(params) {
  return request({
    url: '/api/contractManage/deviceLeaseContractInfo/getDeviceLeaseContractDetailList',
    method: 'post',
    params
  })
}
// 获取设备租赁合同结算信息列表
export function getDeviceLeaseContractSettleInfoList(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractSettleInfo/getDeviceLeaseContractSettleInfoList',
    method: 'post',
    data
  })
}
// 更新设备租赁合同结算信息
export function updateDeviceLeaseContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractSettleInfo/updateDeviceLeaseContractSettleInfo',
    method: 'post',
    data
  })
}
// 其他合同
export function getOtherContractInfoList(data) {
  return request({
    url: '/api/contractManage/otherContractInfo/getOtherContractBasicInfoList',
    method: 'post',
    data
  })
}
export function getOtherContractFinishInfoList(data) {
  return request({
    url: '/api/contractManage/otherContractInfo/getOtherContractFinishInfoList',
    method: 'post',
    data
  })
}

export function addOtherContractInfo(data) {
  return request({
    url: '/api/contractManage/otherContractInfo/addOtherContractInfo',
    method: 'post',
    data
  })
}

export function updateOtherContractInfo(data) {
  return request({
    url: '/api/contractManage/otherContractInfo/updateOtherContractInfo',
    method: 'post',
    data
  })
}

export function deleteOtherContractInfo(params) {
  return request({
    url: '/api/contractManage/otherContractInfo/deleteOtherContractInfo',
    method: 'post',
    params
  })
}

export function getOtherContractInfoDetail(params) {
  return request({
    url: '/api/contractManage/otherContractInfo/getOtherContractInfoDetail',
    method: 'post',
    params
  })
}
// 添加其他合同结算信息
export function addOtherContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/otherContractSettleInfo/addOtherContractSettleInfo',
    method: 'post',
    data
  })
}
// 删除其他合同结算信息
export function deleteOtherContractSettleInfo(params) {
  return request({
    url: '/api/contractManage/otherContractSettleInfo/deleteOtherContractSettleInfo',
    method: 'post',
    params
  })
}
// 获取其他合同结算信息详情
export function getOtherContractSettleInfoDetail(params) {
  return request({
    url: '/api/contractManage/otherContractSettleInfo/getOtherContractSettleInfoDetail',
    method: 'post',
    params
  })
}
// 获取其他合同结算信息列表
export function getOtherContractSettleInfoList(data) {
  return request({
    url: '/api/contractManage/otherContractSettleInfo/getOtherContractSettleInfoList',
    method: 'post',
    data
  })
}
// 更新其他合同结算信息
export function updateOtherContractSettleInfo(data) {
  return request({
    url: '/api/contractManage/otherContractSettleInfo/updateOtherContractSettleInfo',
    method: 'post',
    data
  })
}

// 添加项目清单
export function addProjectChecklist(data) {
  return request({
    url: '/api/contractManage/projectChecklist/addProjectChecklist',
    method: 'post',
    data
  })
}

// 删除项目清单
export function deleteProjectChecklist(params) {
  return request({
    url: '/api/contractManage/projectChecklist/deleteProjectChecklist',
    method: 'post',
    params
  })
}

// 获取项目清单详情
export function getProjectChecklistDetail(params) {
  return request({
    url: '/api/contractManage/projectChecklist/getProjectChecklistDetail',
    method: 'post',
    params
  })
}

// 获取项目清单列表
export function getProjectChecklistList(params) {
  return request({
    url: '/api/contractManage/projectChecklist/getProjectChecklistList',
    method: 'post',
    params
  })
}

// 获取项目月进度计划详情列表
export function getProjectSchedulePlanDetailList(params) {
  return request({
    url: '/api/planManage/projectSchedulePlanInfo/getProjectSchedulePlanDetailList',
    method: 'post',
    params
  })
}

// 获取项目月进度计划详情列表
export function getProjectTotalCostPlanDetailList(params) {
  return request({
    url: '/api/planManage/projectTotalCostPlanInfo/getProjectTotalCostPlanDetailList',
    method: 'post',
    params
  })
}

// 获取项目清单树
export function getProjectChecklistTree(params) {
  return request({
    url: '/api/contractManage/projectChecklist/getProjectChecklistTree',
    method: 'post',
    params
  })
}

// 更新项目清单
export function updateProjectChecklist(params) {
  return request({
    url: '/api/contractManage/projectChecklist/updateProjectChecklist',
    method: 'post',
    params
  })
}

// 劳务分包合同评审
export function getTransferContractReviewList(data) {
  return request({
    url: '/api/contractManage/transferContractReview/getTransferContractReviewList',
    method: 'post',
    data
  })
}

export function addTransferContractReview(data) {
  return request({
    url: '/api/contractManage/transferContractReview/addTransferContractReview',
    method: 'post',
    data
  })
}

export function updateTransferContractReview(data) {
  return request({
    url: '/api/contractManage/transferContractReview/updateTransferContractReview',
    method: 'post',
    data
  })
}

export function deleteTransferContractReview(params) {
  return request({
    url: '/api/contractManage/transferContractReview/deleteTransferContractReview',
    method: 'post',
    params
  })
}

export function getTransferContractReviewDetail(params) {
  return request({
    url: '/api/contractManage/transferContractReview/getTransferContractReviewDetail',
    method: 'post',
    params
  })
}

// 材料合同评审
export function getMaterialContractReviewList(data) {
  return request({
    url: '/api/contractManage/materialContractReview/getMaterialContractReviewList',
    method: 'post',
    data
  })
}

export function addMaterialContractReview(data) {
  return request({
    url: '/api/contractManage/materialContractReview/addMaterialContractReview',
    method: 'post',
    data
  })
}

export function updateMaterialContractReview(data) {
  return request({
    url: '/api/contractManage/materialContractReview/updateMaterialContractReview',
    method: 'post',
    data
  })
}

export function deleteMaterialContractReview(params) {
  return request({
    url: '/api/contractManage/materialContractReview/deleteMaterialContractReview',
    method: 'post',
    params
  })
}

export function getMaterialContractReviewDetail(params) {
  return request({
    url: '/api/contractManage/materialContractReview/getMaterialContractReviewDetail',
    method: 'post',
    params
  })
}

// 设备采购合同评审
export function getDeviceStockContractReviewList(data) {
  return request({
    url: '/api/contractManage/deviceStockContractReview/getDeviceStockContractReviewList',
    method: 'post',
    data
  })
}

export function addDeviceStockContractReview(data) {
  return request({
    url: '/api/contractManage/deviceStockContractReview/addDeviceStockContractReview',
    method: 'post',
    data
  })
}

export function updateDeviceStockContractReview(data) {
  return request({
    url: '/api/contractManage/deviceStockContractReview/updateDeviceStockContractReview',
    method: 'post',
    data
  })
}

export function deleteDeviceStockContractReview(params) {
  return request({
    url: '/api/contractManage/deviceStockContractReview/deleteDeviceStockContractReview',
    method: 'post',
    params
  })
}

export function getDeviceStockContractReviewDetail(params) {
  return request({
    url: '/api/contractManage/deviceStockContractReview/getDeviceStockContractReviewDetail',
    method: 'post',
    params
  })
}

// 设备租赁合同评审
export function getDeviceLeaseContractReviewList(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractReview/getDeviceLeaseContractReviewList',
    method: 'post',
    data
  })
}

export function addDeviceLeaseContractReview(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractReview/addDeviceLeaseContractReview',
    method: 'post',
    data
  })
}

export function updateDeviceLeaseContractReview(data) {
  return request({
    url: '/api/contractManage/deviceLeaseContractReview/updateDeviceLeaseContractReview',
    method: 'post',
    data
  })
}

export function deleteDeviceLeaseContractReview(params) {
  return request({
    url: '/api/contractManage/deviceLeaseContractReview/deleteDeviceLeaseContractReview',
    method: 'post',
    params
  })
}

export function getDeviceLeaseContractReviewDetail(params) {
  return request({
    url: '/api/contractManage/deviceLeaseContractReview/getDeviceLeaseContractReviewDetail',
    method: 'post',
    params
  })
}

// 其他合同评审
export function getOtherContractReviewList(data) {
  return request({
    url: '/api/contractManage/otherContractReview/getOtherContractReviewList',
    method: 'post',
    data
  })
}

export function addOtherContractReview(data) {
  return request({
    url: '/api/contractManage/otherContractReview/addOtherContractReview',
    method: 'post',
    data
  })
}

export function updateOtherContractReview(data) {
  return request({
    url: '/api/contractManage/otherContractReview/updateOtherContractReview',
    method: 'post',
    data
  })
}

export function deleteOtherContractReview(params) {
  return request({
    url: '/api/contractManage/otherContractReview/deleteOtherContractReview',
    method: 'post',
    params
  })
}

export function getOtherContractReviewDetail(params) {
  return request({
    url: '/api/contractManage/otherContractReview/getOtherContractReviewDetail',
    method: 'post',
    params
  })
}
